package com.lx.api;

import com.lx.service.HelloA;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/test")
public class testDubbo {
    @Resource
    HelloA helloA;
    @GetMapping("/helloA")
    public String helloA(){
        return helloA.sayHello("lx");
    }
}
